#!/usr/bin/python
#-*- coding: utf-8 -*-
import cv

def take(fileName):
    cam = cv.CaptureFromCAM(0)
    photo  = cv.QueryFrame(cam)
    fileName = fileName+'.png'
    cv.SaveImage(fileName, photo)
    return 

